QuickOPC User's Guide and Reference
Create<TValue>(UAEndpointDescriptor,UANodeDescriptor,Int32) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Reactive Namespace > UADataChangeNotificationObservable Class > Create Method : Create<TValue>(UAEndpointDescriptor,UANodeDescriptor,Int32) Method
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC UA server's address space.
The sampling interval (in milliseconds) indicates the fastest rate at which the Server should sample its underlying source for data changes.
Creates a new data change observable for OPC UA monitored item, specifying an OPC UA endpoint descriptor, node descriptor, and sampling rate.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Create(Of TValue)( _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal nodeDescriptor As UANodeDescriptor, _
   ByVal samplingInterval As Integer _
) As UADataChangeNotificationObservable(Of TValue)
'Usage
 
Dim endpointDescriptor As UAEndpointDescriptor
Dim nodeDescriptor As UANodeDescriptor
Dim samplingInterval As Integer
Dim value As UADataChangeNotificationObservable(Of TValue)
 
value = UADataChangeNotificationObservable.Create(Of TValue)(endpointDescriptor, nodeDescriptor, samplingInterval)

Parameters

endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
nodeDescriptor
Node descriptor. Identifies the node in OPC UA server's address space.
samplingInterval
The sampling interval (in milliseconds) indicates the fastest rate at which the Server should sample its underlying source for data changes.

Type Parameters

TValue

Return Value

Returns an observable for changes in the given OPC UA monitored item.
Remarks
The UAReactive.DefaultClientSelector selector will be used for OPC Unified Architecture operations.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also